Improved Bounds for 3SUM, k-SUM, and Linear Degeneracy

نویسندگان

  • Omer Gold
  • Micha Sharir
چکیده

Given a set of n real numbers, the 3SUM problem is to decide whether there are three of them that sum to zero. Until a recent breakthrough by Grønlund and Pettie [FOCS’14], a simple Θ(n2)-time deterministic algorithm for this problem was conjectured to be optimal. Over the years many algorithmic problems have been shown to be reducible from the 3SUM problem or its variants, including the more generalized forms of the problem, such as k-SUM and k-variate linear degeneracy testing (k-LDT). The conjectured hardness of these problems have become extremely popular for basing conditional lower bounds for numerous algorithmic problems in P. In this paper, we show that the randomized 4-linear decision tree complexity1 of 3SUM is O(n3/2), and that the randomized (2k − 2)-linear decision tree complexity of k-SUM and kLDT is O(nk/2), for any odd k ≥ 3. These bounds improve (albeit being randomized) the corresponding O(n3/2 √ logn) and O(nk/2 √ logn) bounds obtained by Grønlund and Pettie. Our technique includes a specialized randomized variant of the fractional cascading data structure. Additionally, we give another deterministic algorithm for 3SUM that runs in O(n2 log logn/ logn) time. The latter bound matches a recent independent bound by Freund [Algorithmica 2017], but our algorithm is somewhat simpler, due to a better use of the word-RAM model. 1998 ACM Subject Classification F.2.2 Nonnumerical Algorithms and Problems

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Higher Lower Bounds from the 3SUM Conjecture

The 3SUM conjecture has proven to be a valuable tool for proving conditional lower bounds on dynamic data structures and graph problems. This line of work was initiated by Pǎtraşcu (STOC 2010) who reduced 3SUM to an offline SetDisjointness problem. However, the reduction introduced by Pǎtraşcu suffers from several inefficiencies, making it difficult to obtain tight conditional lower bounds from...

متن کامل

On Multidimensional and Monotone k-SUM

The well-known k-SUM conjecture is that integer k-SUM requires time Ω(ndk/2e−o(1)). Recent work has studied multidimensional k-SUM in Fp, where the best known algorithm takes time Õ(ndk/2e). Bhattacharyya et al. [ICS 2011] proved a min(2Ω(d), nΩ(k)) lower bound for k-SUM in Fp under the Exponential Time Hypothesis. We give a more refined lower bound under the standard k-SUM conjecture: for suff...

متن کامل

Mind the Gap: Essentially Optimal Algorithms for Online Dictionary Matching with One Gap

We examine the complexity of the online Dictionary Matching with One Gap Problem (DMOG) which is the following. Preprocess a dictionary D of d patterns, where each pattern contains a special gap symbol that can match any string, so that given a text that arrives online, a character at a time, we can report all of the patterns from D that are suffixes of the text that has arrived so far, before ...

متن کامل

How Hard is it to Find (Honest) Witnesses?

In recent years much effort has been put into developing polynomial-time conditional lower bounds for algorithms and data structures in both static and dynamic settings. Along these lines we introduce a framework for proving conditional lower bounds based on the well-known 3SUM conjecture. Our framework creates a compact representation of an instance of the 3SUM problem using hashing and domain...

متن کامل

Constructing the Visibility Graph for N Line Segments in On

There are many problems in computational geometry for which the best know algorithms take time (n) (or more) in the worst case while only very low lower bounds are known. In this paper we describe a large class of problems for which we prove that they are all at least as di cult as the following base problem 3sum: Given a set S of n integers, are there three elements of S that sum up to 0. We c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017